import { ProductTypeEnum } from '@/const/enum'

export interface SaleDto {
  saleId: number
  userId: number
  sex: null
  status: null
  salesHeadUrl: string
  saleName: string
  phone: string
  deptName: null
  payPerformance: null
  payCount: null
  payCommission: null
  payRenewPerformance: null
  payRenewCount: null
  payRenewCommission: null
  wesurePerformance: null
  wesureCommission: null
  tyxPerformance: null
  tyxCommission: null
  periodPerformance: null
  periodCommission: null
  elePerformance: null
  eleCommission: null
  queryTime: null
  searchText: null
  entryTime: string
  isShowRankingList: number
}

export interface DepartMemberDto {
  id: number
  openId: null
  role: null
  salesName: string
  phone: null
  salesHeadUrl: null
  sex: null
  idCardNo: null
  realName: null
  receiverSales: null
  auditStatus: null
  companyId: null
  isDelete: null
  createTime: null
  updateTime: string
  createUserId: null
  updateUserId: null
  openAccountMoney: null
  insureMoney: null
  eleSignMoney: null
  channelName: null
  productType: null
  sysUserId: null
  deptName: string
  searchText: null
  totalPerformance: null
  startTime: null
  endTime: null
  deptId: null
  deptIds: null
  allocateAmt: number
  updateUserName: string
  userId: number
  roleName: string
  headCount: null
  insuranceStatistics: null
  isSelectSale: null
  entryTime: null
  saleIds: null
  queryMonth: null
  thisMonthTask: null
  params: Params
  isJoinRankingList: null
  isShowRankingList: null
  type: null
  queryStartMonth: null
  queryEndMonth: null
  unAllocateAmt: number
}

interface Params {
}